package com.cs.contract.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsInventory
 * @Date：2024/11/18 19:25
 * @Filename：CsInventory
 */
public class CsInventory extends BaseEntity {
    private static final long serialVersionUID = 622544983893211304L;
    @Excel(name = "标的ID")
    private Integer inId;
    @Excel(name = "产品编码")
    private String tid;
    @Excel(name = "合同ID")
    private Integer eid;
    @Excel(name = "非招标ID")
    private Integer gid;
    @Excel(name = "框架协议ID")
    private Integer oid;
    @Excel(name = "产品名称")
    private String inName;
    @Excel(name = "规格型号")
    private String inModel;
    @Excel(name = "单位")
    private String inUnit;
    @Excel(name = "含税单价")
    private BigDecimal inVat;
    @Excel(name = "数量")
    private Integer inCount;
    @Excel(name = "小计")
    private BigDecimal inSubtotal;

    public Integer getInId() {
        return inId;
    }

    public void setInId(Integer inId) {
        this.inId = inId;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getInName() {
        return inName;
    }

    public void setInName(String inName) {
        this.inName = inName;
    }

    public String getInModel() {
        return inModel;
    }

    public void setInModel(String inModel) {
        this.inModel = inModel;
    }

    public String getInUnit() {
        return inUnit;
    }

    public void setInUnit(String inUnit) {
        this.inUnit = inUnit;
    }

    public BigDecimal getInVat() {
        return inVat;
    }

    public void setInVat(BigDecimal inVat) {
        this.inVat = inVat;
    }

    public Integer getInCount() {
        return inCount;
    }

    public void setInCount(Integer inCount) {
        this.inCount = inCount;
    }

    public BigDecimal getInSubtotal() {
        return inSubtotal;
    }

    public void setInSubtotal(BigDecimal inSubtotal) {
        this.inSubtotal = inSubtotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("inId", inId)
                .append("tid", tid)
                .append("eid", eid)
                .append("gid", gid)
                .append("oid", oid)
                .append("inName", inName)
                .append("inModel", inModel)
                .append("inUnit", inUnit)
                .append("inVat", inVat)
                .append("inCount", inCount)
                .append("inSubtotal", inSubtotal)
                .toString();
    }
}
